import os
import sys
import random

from pylal import antenna
from pylal import date

import numpy as np
from numpy import pi
#from numpy.fft import fft


###################################################
## constants
###################################################
constant_G = 6.67428e-11
constant_c = 299792458
constant_Msol = 1.98892e30
constant_pc = 3.0856775807e16

twopi = 2.0*np.pi
pi2 = np.pi/2.0

g = date.LIGOTimeGPS(953141535,0)
gmst = date.XLALGreenwichMeanSiderealTime(g)

print g
print "%18.9f" %(gmst)



